{% extends 'account/account_base.html' %}

{% block content %}
    <div class="centered">
        <div class="information">
            <h2>Reset your password</h2>
            <div class="line"></div>
            <p>Please enter your new password twice.</p>
        </div>
        <form action="." method="POST">
            {% csrf_token %}
            {% for field in form %}
                <div class="fields">
                    {% if field.errors %}
                        <div class="field-errors">{{ field }}</div>
                    {% else %}
                        <div class="filed-and-label">
                            {{ field.label }}
                            {{ field }}
                        </div>
                    {% endif %}
                </div>
            {% endfor %}
            <button type="submit" class="btn btn-success">Change</button>
        </form>
{% endblock content %}
